package grad.nxu.recruitsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import grad.nxu.recruitsystem.domain.Hr;
import grad.nxu.recruitsystem.dto.User;
import grad.nxu.recruitsystem.vo.BiographicalNotesVO;
import grad.nxu.recruitsystem.vo.JobApplicationVO;

import java.util.List;

/**
 * @author HAPPY
 * @description 针对表【hr】的数据库操作Service
 * @createDate 2023-03-09 22:59:06
 */
public interface HrService extends IService<Hr> {

    User login(User hr);

    int modifyPassword(String email, String password);

    List<JobApplicationVO> getBiographicalNotesByPage(Integer companyId, Integer pageSize, Integer pageNumber);

    List<JobApplicationVO> getBiographicalNotesByAge(Integer age, Integer companyId, Integer pageSize, Integer pageNumber);

    List<JobApplicationVO> getBiographicalNotesByGender(String gender, Integer companyId, Integer pageSize, Integer pageNumber);

    BiographicalNotesVO getOneBiographicalNote(Integer biographicalId);
}
